/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cc.altius.dao;

import cc.altius.model.Partner;
import cc.altius.model.PartnerDetail;
import cc.altius.model.PartnerType;
import java.util.List;

/**
 *
 * @author jitendra
 */
public interface PartnerDao {

    public List<PartnerDetail> getPartnerDetailList();

    public List<PartnerType> getPartnerTypeList();

    public int addPartnerDetail(PartnerDetail partnerDetail);

    public int addPartner(Partner partner);

    public List<Partner> getPartnerList(int centerId, int partnerTypeId);

    public Partner getPartnerById(int partnerId);

    public int updatePartner(Partner partner);

    public PartnerDetail getPartnerDetailById(int partnerDetailId);

    public int updatePartnerDetail(PartnerDetail partnerDetail);
}
